package com.dykj.apps.web.sysmanager.service;

import java.util.List;
import java.util.Map;

import com.dykj.apps.web.sysmanager.dto.GroupInfoDTO;
import com.dykj.platform.framework.exception.ApplicationException;

public interface IGroupInfoBS {
	/**
	 *  取得树形功能菜单
	 * @param parentid
	 * @return
	 * @throws ApplicationException
	 */
	public List getGroupInfo(String parentid) throws ApplicationException;
	
	/**
	 * 查找子节点信息
	 * @param parentid
	 * @return
	 * @throws ApplicationException
	 */
	public List getManagerGroupInfo(String parentid) throws ApplicationException;
	
	/**
	 * 根据id返回groupDTO
	 * @param id
	 * @return
	 * @throws ApplicationException
	 */
	public GroupInfoDTO getGroupInfoDTO(String id)throws ApplicationException;
	/**
	 * 获得下拉列表map
	 */
	public Map getGroupMap(String id) throws ApplicationException ;
	/**
	 * 保存
	 * @param group
	 * @return
	 * @throws ApplicationException
	 */
	public int saveOrUpdateGroupInfo(GroupInfoDTO group)throws ApplicationException;
	
	/**
	 * 删除
	 * @param id
	 * @return
	 * @throws ApplicationException
	 */
	public int delGroupInfo(String id)throws ApplicationException;	
}
